package com.atguigu.srb.core.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 标的准备表
 * </p>
 *
 * @author Atguigu
 * @since 2024-04-15
 */
@Data
@ApiModel("借款信息审批的VO")
public class BorrowInfoApprovalVO implements Serializable {
    public static final long serialVersionUID = 42425423434322L;
    @ApiModelProperty(value = "借款信息id")
    private Long borrowInfoId;

    @ApiModelProperty(value = "状态, 是否通过： 2:是 -1:否")
    private Integer status;
    @ApiModelProperty(value = "标的名称")
    private String title;
    @ApiModelProperty(value = "起息日")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lendStartDate;

    @ApiModelProperty(value = "年化利率")
    private BigDecimal lendYearRate;

    @ApiModelProperty(value = "服务费率")
    private BigDecimal serviceRate;

    @ApiModelProperty(value = "标的描述")
    private String lendInfo;
    @ApiModelProperty(value = "审批备注")
    private String content;

}
